Filename | (eval 1118)[/usr/share/perl/5.10/CGI.pm:869] |
Statements | Executed 16 statements in 70µs |
Eval Invoked At | /usr/share/perl/5.10/CGI.pm line 869 |
Sibling evals | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
4 | 2 | 2 | 64µs | 154µs | http | CGI::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # spent 154µs (64+91) within CGI::http which was called 4 times, avg 39µs/call:
# 3 times (42µs+60µs) by CGI::url at line 25 of (eval 1109)[CGI.pm:869], avg 34µs/call
# once (22µs+31µs) by CGI::url at line 832 of CGI.pm | ||||
2 | 4 | 15µs | 4 | 85µs | my ($self,$parameter) = self_or_CGI(@_); # spent 85µs making 4 calls to CGI::self_or_CGI, avg 21µs/call |
3 | 4 | 21µs | 4 | 6µs | return $ENV{$parameter} if $parameter=~/^HTTP/; # spent 6µs making 4 calls to CGI::CORE:match, avg 1µs/call |
4 | 4 | 5µs | $parameter =~ tr/-/_/; | ||
5 | 4 | 29µs | return $ENV{"HTTP_\U$parameter\E"} if $parameter; | ||
6 | my(@p); | ||||
7 | for (keys %ENV) { | ||||
8 | push(@p,$_) if /^HTTP/; | ||||
9 | } | ||||
10 | return @p; | ||||
11 | } | ||||
12 | |||||
13 | ; |